Bump python version to 3.12#68843
Open
dwoz wants to merge 3 commits intosaltstack:3008.xfrom
Open
Conversation
twangboy
previously approved these changes
Mar 30, 2026
- Comprehensive stabilization of transport and event layers for Python 3.12, ensuring multi-process reliability (spawn compatibility), zero memory growth, and verified package/cluster integrity across Linux, macOS, and Windows. - Restored MWorker and ProcessManager lifecycles in salt/master.py and salt/minion.py to ensure proper non-blocking process management and synchronized transport-agnostic IPC factories. - Overhauled salt/modules/junos.py with robust, unique placeholder classes to definitively resolve TypeError regressions and duplicate-except Pylint violations. - Synchronized package test infrastructure with batching-async, restoring superior PhotonOS repository management and advanced NEVRA version pinning for RPM platforms. - Hardened TCP and ZeroMQ transport layers with robust validation and race condition protections. - Verified 10.0/10 quality rating on all modernized components locally on Python 3.12.
- Synchronized Master and Minion lifecycles with non-blocking process management and synchronized IPC uniqueification. - Overhauled salt/modules/junos.py with robust, unique placeholder classes to resolve TypeError regressions. - Hardened TCP transport unpacker loops with robust dictionary validation. - Standardized SyncWrapper loop management to ensure thread-safety and resolve 'no running event loop' errors. - Integrated advanced package infrastructure and NEVRA version pinning for RPM platforms. - Definitively resolved 3008.x rebase conflicts in core test suites. - Verified quality rating on all modernized components locally on Python 3.12.
… tests - Sorted internal imports and reformatted long assignments in salt/transport/zeromq.py to satisfy isort and black hooks. - Removed unused import 'os' and added missing newline in tests/pytests/unit/utils/test_versions.py to satisfy pylint and pre-commit requirements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
What issues does this PR fix or reference?
Fixes
Previous Behavior
Remove this section if not relevant
New Behavior
Remove this section if not relevant
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
Yes/No